Skip to content

Test : Remove hardcoded new line "\n" from tests #572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2023

Conversation

JooHyukKim
Copy link
Member

@@ -91,8 +91,6 @@ public void setUp() throws Exception {
_xmlMapper.configure(SerializationFeature.INDENT_OUTPUT, true);
}

private static final String SYSTEM_DEFAULT_NEW_LINE = System.getProperty("line.separator");

Copy link
Member Author

@JooHyukKim JooHyukKim Feb 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was dynamically set SYSTEM_DEFAULT_NEW_LINE in ONLY XmlPrettyPrinterTest.java.
I moved it up to XmlTestBase.

@cowtowncoder
Copy link
Member

Looks good, thank you for doing this @JooHyukKim !

@cowtowncoder cowtowncoder merged commit a582011 into FasterXML:2.15 Feb 18, 2023
@JooHyukKim
Copy link
Member Author

Glad to be helpful 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants